import modules from '@modules';

let constants = {};
modules.filter(module => module !== 'package').forEach(module => {
    let data = require(`../../${ module }/api/constants`).default;
    Object.keys(data).forEach(key => {
        constants[key] = data[key];
    });
});
export default constants;
